#!/bin/bash
rm -rf dist
rm -rf dist.tar
npm run pro
tar -cvf dist.tar dist/*
scp -P 22 dist.tar root@140.249.54.198:/opt/front/dongxin-prd/ 